package com.ilvyou.data.lcs;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectSns2Entity {
    private Long sendid;
    private Integer ymdayid;
    private Long actid;
    private Long slogid;
    private Long configid;
    private String bodydata;
    private String createdname;
    private Timestamp createdon;
    private Long createdby;
    private String createdip;

    public Long getSendid() {
        return sendid;
    }

    public void setSendid(Long sendid) {
        this.sendid = sendid;
    }

    public Integer getYmdayid() {
        return ymdayid;
    }

    public void setYmdayid(Integer ymdayid) {
        this.ymdayid = ymdayid;
    }

    public Long getActid() {
        return actid;
    }

    public void setActid(Long actid) {
        this.actid = actid;
    }

    public Long getSlogid() {
        return slogid;
    }

    public void setSlogid(Long slogid) {
        this.slogid = slogid;
    }

    public Long getConfigid() {
        return configid;
    }

    public void setConfigid(Long configid) {
        this.configid = configid;
    }

    public String getBodydata() {
        return bodydata;
    }

    public void setBodydata(String bodydata) {
        this.bodydata = bodydata;
    }

    public String getCreatedname() {
        return createdname;
    }

    public void setCreatedname(String createdname) {
        this.createdname = createdname;
    }

    public Timestamp getCreatedon() {
        return createdon;
    }

    public void setCreatedon(Timestamp createdon) {
        this.createdon = createdon;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public String getCreatedip() {
        return createdip;
    }

    public void setCreatedip(String createdip) {
        this.createdip = createdip;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectSns2Entity that = (CollectSns2Entity) o;

        if (sendid != null ? !sendid.equals(that.sendid) : that.sendid != null) return false;
        if (ymdayid != null ? !ymdayid.equals(that.ymdayid) : that.ymdayid != null) return false;
        if (actid != null ? !actid.equals(that.actid) : that.actid != null) return false;
        if (slogid != null ? !slogid.equals(that.slogid) : that.slogid != null) return false;
        if (configid != null ? !configid.equals(that.configid) : that.configid != null) return false;
        if (bodydata != null ? !bodydata.equals(that.bodydata) : that.bodydata != null) return false;
        if (createdname != null ? !createdname.equals(that.createdname) : that.createdname != null) return false;
        if (createdon != null ? !createdon.equals(that.createdon) : that.createdon != null) return false;
        if (createdby != null ? !createdby.equals(that.createdby) : that.createdby != null) return false;
        if (createdip != null ? !createdip.equals(that.createdip) : that.createdip != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = sendid != null ? sendid.hashCode() : 0;
        result = 31 * result + (ymdayid != null ? ymdayid.hashCode() : 0);
        result = 31 * result + (actid != null ? actid.hashCode() : 0);
        result = 31 * result + (slogid != null ? slogid.hashCode() : 0);
        result = 31 * result + (configid != null ? configid.hashCode() : 0);
        result = 31 * result + (bodydata != null ? bodydata.hashCode() : 0);
        result = 31 * result + (createdname != null ? createdname.hashCode() : 0);
        result = 31 * result + (createdon != null ? createdon.hashCode() : 0);
        result = 31 * result + (createdby != null ? createdby.hashCode() : 0);
        result = 31 * result + (createdip != null ? createdip.hashCode() : 0);
        return result;
    }
}
